﻿using System.IO;
using SmartQuant;

namespace QdpDemo
{
    class Program
    {
        static Program()
        {
            OpenQuantOutside.Init();
        }

        static void Main(string[] args)
        {
            var server = new StreamInstrumentServer();
            var framework = new Framework("QdpTest", server, null);
            server.SetFramework(framework);
            server.SetDataPath(Path.GetDirectoryName(typeof(Program).Assembly.Location)!);
            new DemoScenario(framework).Run();
        }
    }
}
